package org.larkdoc.model.bo;

import java.io.Serializable;
import java.util.List;

import org.larkdoc.model.entity.GroupInfo;
import org.larkdoc.model.entity.ProjectInfo;
import org.larkdoc.model.entity.ProjectRelGroup;
import org.larkdoc.model.entity.ProjectRelUser;
import org.larkdoc.model.entity.UserInfo;

/**
 * 项目信息业务实体
 * 
 * @author  zhangpeijun[zhangpeijun1024@qq.com]
 * @version  [v1.0.1, 2017年10月17日]
 * @see  [相关类/方法]
 * @since  [产品/模块版本]
 */
public class ProjectBO extends ProjectInfo implements Serializable {
    
    private static final long     serialVersionUID = 1L;
    
    private List<ProjectRelUser>  projectRelUser;
    
    private List<ProjectRelGroup> projectRelGroup;
    
    private List<UserInfo>        users;
    
    private List<GroupInfo>       groups;
    
    public List<ProjectRelUser> getProjectRelUser() {
        return projectRelUser;
    }
    
    public void setProjectRelUser(List<ProjectRelUser> projectRelUser) {
        this.projectRelUser = projectRelUser;
    }
    
    public List<ProjectRelGroup> getProjectRelGroup() {
        return projectRelGroup;
    }
    
    public void setProjectRelGroup(List<ProjectRelGroup> projectRelGroup) {
        this.projectRelGroup = projectRelGroup;
    }
    
    public List<UserInfo> getUsers() {
        return users;
    }
    
    public void setUsers(List<UserInfo> users) {
        this.users = users;
    }
    
    public List<GroupInfo> getGroups() {
        return groups;
    }
    
    public void setGroups(List<GroupInfo> groups) {
        this.groups = groups;
    }
    
    @Override
    public String toString() {
        StringBuilder builder = new StringBuilder();
        builder.append("ProjectBO [ projectRelUser=");
        builder.append(projectRelUser);
        builder.append(", projectRelGroup=");
        builder.append(projectRelGroup);
        builder.append(", users=");
        builder.append(users);
        builder.append(", groups=");
        builder.append(groups);
        builder.append("]");
        return builder.toString();
    }
    
}
